package com.yami.shop.seckill.common.dto;

import com.yami.shop.bean.app.dto.UserAddrDto;
import com.yami.shop.bean.model.OrderInvoice;
import com.yami.shop.bean.vo.VirtualRemarkVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 秒杀订单合并信息
 * @author LGH
 */
@Data
public class SeckillOrderMergerDto {

    @Schema(description = "实际总值", required = true)
    private Double actualTotal;

    @Schema(description = "商品总值", required = true)
    private Double total;

    @Schema(description = "秒杀优惠", required = true)
    private Double seckillReduce;

    @Schema(description = "运费", required = true)
    private Double transfee;

    @Schema(description = "商品总数", required = true)
    private Integer totalCount;

    @Schema(description = "地址Dto", required = true)
    private UserAddrDto userAddr;

    @Schema(description = "商品信息", required = true)
    private SeckillShopCartItemDto shopCartItem;

    @Schema(description = "msgId",required=true)
    private String msgId;

    @Schema(description = "userId",required=true)
    private String userId;

    @Schema(description = "订单备注",required=true)
    private String remarks;

    @Schema(description = "orderNumber")
    private String orderNumber;

    @Schema(description = "订单发票信息")
    private OrderInvoice orderInvoice;

    @Schema(description = "商品类别 0.实物商品 1. 虚拟商品")
    private Integer mold;

    @Schema(description = "虚拟商品留言备注")
    private List<VirtualRemarkVO> virtualRemarkList;
}
